package com.example.mt3d;

import com.example.mt3d.util.SystemUiHider;

import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.view.MotionEvent;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ProgressBar;


public class Mapa extends Activity {
   
	private static final int SEGUNDOS=3000;
	
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        
        this.getWindow().setFlags(
        		WindowManager.LayoutParams.FLAG_FULLSCREEN,
        		WindowManager.LayoutParams.FLAG_FULLSCREEN
        		);
        
        setContentView(R.layout.activity_mapa);
        	
        Handler handler = new Handler();
        handler.postDelayed(IniciarMenu(), SEGUNDOS);
    }
    
    private Runnable IniciarMenu(){
    	Runnable res = new Runnable(){
    		public void run(){
    			Intent intent = new Intent(Mapa.this,Menu.class);
    			startActivity(intent);
    			finish();
    		}
    	};
    	return res;
    }
}